home *** CD-ROM | disk | FTP | other *** search
/ HAM Radio 1997 / HAM Radio 1997.iso / vcls / date / examples / exmodem0.dfm / exmodem0.txt
Encoding:
Text File  |  1996-04-08  |  1.4 KB  |  68 lines

  1. object Form1: TForm1
  2.   Left = 291
  3.   Top = 169
  4.   Width = 432
  5.   Height = 138
  6.   Caption = 'Modem Example'
  7.   Font.Color = clWindowText
  8.   Font.Height = -13
  9.   Font.Name = 'System'
  10.   Font.Style = []
  11.   PixelsPerInch = 96
  12.   TextHeight = 16
  13.   object Label1: TLabel
  14.     Left = 8
  15.     Top = 8
  16.     Width = 133
  17.     Height = 16
  18.     Caption = 'Initialization Status: '
  19.   end
  20.   object Label2: TLabel
  21.     Left = 144
  22.     Top = 8
  23.     Width = 273
  24.     Height = 16
  25.     AutoSize = False
  26.   end
  27.   object BitBtn1: TBitBtn
  28.     Left = 8
  29.     Top = 72
  30.     Width = 409
  31.     Height = 33
  32.     Caption = 'Click here to initialize the modem!!!'
  33.     TabOrder = 0
  34.     OnClick = BitBtn1Click
  35.   end
  36.   object ApdComPort1: TApdComPort
  37.     ComNumber = 1
  38.     TraceName = 'APD.TRC'
  39.     LogName = 'APD.LOG'
  40.     Left = 8
  41.     Top = 36
  42.   end
  43.   object ApdModem1: TApdModem
  44.     ComPort = ApdComPort1
  45.     InitCmd = 'ATZ^M'
  46.     DialCmd = 'ATDT'
  47.     DialTerm = '^M'
  48.     DialCancel = '^M'
  49.     HangupCmd = '+++~~~ATH0^M'
  50.     ConfigCmd = 'ATE1Q0X1V1^M'
  51.     AnswerCmd = 'ATA^M'
  52.     OkMsg = 'OK'
  53.     ConnectMsg = 'CONNECT'
  54.     BusyMsg = 'BUSY'
  55.     VoiceMsg = 'VOICE'
  56.     NoCarrierMsg = 'NO CARRIER'
  57.     NoDialToneMsg = 'NO DIALTONE'
  58.     ErrorMsg = 'ERROR'
  59.     RingMsg = 'RING'
  60.     LockDTE = True
  61.     OnModemOk = ApdModem1ModemOk
  62.     OnModemError = ApdModem1ModemError
  63.     OnCmdTimedOut = ApdModem1CmdTimedOut
  64.     Left = 40
  65.     Top = 36
  66.   end
  67. end
  68.